	QFile inFile("test.txt");
	inFile.open(QIODevice::ReadOnly);
	QByteArray ba = inFile.readAll();
	 
	QFile file("test.gz");
	file.open(QIODevice::WriteOnly);
	QDataStream out(&file);
	out << qCompress(ba);
